  import Animal from './animal';
  export default class Dog extends Animal {
      constructor(name = 'unnamed Dog', age, color) {
          super(name, age); //super一定放在构造函数的第一行
          this.color = color;
      }

      voice() {
          return "汪汪汪";
      }
  }